# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年09月02日
"""
import numpy as np


# def Array_plus(n):
# 	a = [i**3 for i in range(1,n+1)]
# 	b = [i**2 for i in range(1,n+1)]
# 	c = []
# 	for i in range(n):
# 		c.append(a[i] + b[i])
#
# 	return c
#
# print(Array_plus(3))

def Array_plus2(n):
	a = np.arange(1, n + 1) ** 3
	b = np.arange(1, n + 1) ** 2
	return a + b


print(Array_plus2(3))
